package com.fc.test.model.auto;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.lang.Integer;

/**
 *  PaperRecords 
 * @author 谢志恺_自动生成
 * @email 2251719256@qq.com
 * @date 2020-10-28 17:25:15
 */
 @ApiModel(value="PaperRecords", description="")
public class PaperRecords implements Serializable {

	private static final long serialVersionUID = 1L;
	
		
	/** 消费记录主键 **/
	@ApiModelProperty(value = "消费记录主键")
	private Integer id;
		
	/** 消费人 **/
	@ApiModelProperty(value = "消费人")
	private String consumption;
		
	/** 消费时间 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@ApiModelProperty(value = "消费时间")
	private Date consumptionTime;
		
	/** 消费次数 **/
	@ApiModelProperty(value = "消费次数")
	private Integer number;
		
	/** 票据id **/
	@ApiModelProperty(value = "票据id")
	private Integer sheetId;
		
		
	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
	 
			
	public String getConsumption() {
        return consumption;
    }

    public void setConsumption(String consumption) {
        this.consumption = consumption;
    }
	 
			
	public Date getConsumptionTime() {
        return consumptionTime;
    }

    public void setConsumptionTime(Date consumptionTime) {
        this.consumptionTime = consumptionTime;
    }
	 
			
	public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
	 
			
	public Integer getSheetId() {
        return sheetId;
    }

    public void setSheetId(Integer sheetId) {
        this.sheetId = sheetId;
    }
	 
			
	public PaperRecords() {
        super();
    }
    
																											
	public PaperRecords(Integer id,String consumption,Date consumptionTime,Integer number,Integer sheetId) {
	
		this.id = id;
		this.consumption = consumption;
		this.consumptionTime = consumptionTime;
		this.number = number;
		this.sheetId = sheetId;
		
	}
	
}